<?php  

require_once("../include/conn.php");
//if(!empty($_REQUEST["id"])){
//$id=$_REQUEST["id"];
$sql_up="select * from $tb_dj  where id = '1' ";
$cn_up=mysql_db_query($db_name,$sql_up);

$row_up = mysql_fetch_row($cn_up); 

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>

<body>
<form action="djsp_ok.php?id=1" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checked();" >
  <table width="100%"  border="0" cellpadding="0" cellspacing="8" class="tdbg">
    <tr>
      <th colspan="2" class="topbg">修改倒计时</th>
    </tr>
    <tr>
      <td width="153" align="right">年度总任务：</td>
      <td width="812"><input name="ndzrw" type="text" id="ndzrw" value="<?php echo $row_up[1]; ?>">
        万TEU</td>
    </tr>
    <tr>
      <td align="right">设置目标日期：</td>
      <td>
	  <script src="../js/Calendar.js" type="text/javascript" language="javascript"></script>
	  <input name="mbdate" type="text" id="mbdate"  size="16" readonly="readonly"  onclick="SelectDate(this)"  value="<?php echo $row_up[3]; ?>" >
      &nbsp; &nbsp;当前日期: <?php echo date('Y-m-d'); ?></td>
    </tr>
    <tr>
      <td align="right">距年底日均需办理：</td>
      <td>

        <input name="rjbl" type="text" id="rjbl"  value="<?php echo $row_up[2]; ?>">
        TEU/天
	  </td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td><input type="submit" name="Submit" value="提交">
        <input name="action" type="hidden" id="action" value="update">
      <input type="reset" name="Submit" value="重置"></td>
    </tr>
  </table>
</form>
</body>
</html>

